package com.zs.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class TXzmxExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TXzmxExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andEmpidIsNull() {
            addCriterion("empid is null");
            return (Criteria) this;
        }

        public Criteria andEmpidIsNotNull() {
            addCriterion("empid is not null");
            return (Criteria) this;
        }

        public Criteria andEmpidEqualTo(Integer value) {
            addCriterion("empid =", value, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidNotEqualTo(Integer value) {
            addCriterion("empid <>", value, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidGreaterThan(Integer value) {
            addCriterion("empid >", value, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidGreaterThanOrEqualTo(Integer value) {
            addCriterion("empid >=", value, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidLessThan(Integer value) {
            addCriterion("empid <", value, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidLessThanOrEqualTo(Integer value) {
            addCriterion("empid <=", value, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidIn(List<Integer> values) {
            addCriterion("empid in", values, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidNotIn(List<Integer> values) {
            addCriterion("empid not in", values, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidBetween(Integer value1, Integer value2) {
            addCriterion("empid between", value1, value2, "empid");
            return (Criteria) this;
        }

        public Criteria andEmpidNotBetween(Integer value1, Integer value2) {
            addCriterion("empid not between", value1, value2, "empid");
            return (Criteria) this;
        }

        public Criteria andGwsalaryIsNull() {
            addCriterion("gwsalary is null");
            return (Criteria) this;
        }

        public Criteria andGwsalaryIsNotNull() {
            addCriterion("gwsalary is not null");
            return (Criteria) this;
        }

        public Criteria andGwsalaryEqualTo(BigDecimal value) {
            addCriterion("gwsalary =", value, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryNotEqualTo(BigDecimal value) {
            addCriterion("gwsalary <>", value, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryGreaterThan(BigDecimal value) {
            addCriterion("gwsalary >", value, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gwsalary >=", value, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryLessThan(BigDecimal value) {
            addCriterion("gwsalary <", value, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gwsalary <=", value, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryIn(List<BigDecimal> values) {
            addCriterion("gwsalary in", values, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryNotIn(List<BigDecimal> values) {
            addCriterion("gwsalary not in", values, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gwsalary between", value1, value2, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andGwsalaryNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gwsalary not between", value1, value2, "gwsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryIsNull() {
            addCriterion("jxsalary is null");
            return (Criteria) this;
        }

        public Criteria andJxsalaryIsNotNull() {
            addCriterion("jxsalary is not null");
            return (Criteria) this;
        }

        public Criteria andJxsalaryEqualTo(BigDecimal value) {
            addCriterion("jxsalary =", value, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryNotEqualTo(BigDecimal value) {
            addCriterion("jxsalary <>", value, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryGreaterThan(BigDecimal value) {
            addCriterion("jxsalary >", value, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("jxsalary >=", value, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryLessThan(BigDecimal value) {
            addCriterion("jxsalary <", value, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryLessThanOrEqualTo(BigDecimal value) {
            addCriterion("jxsalary <=", value, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryIn(List<BigDecimal> values) {
            addCriterion("jxsalary in", values, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryNotIn(List<BigDecimal> values) {
            addCriterion("jxsalary not in", values, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jxsalary between", value1, value2, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andJxsalaryNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jxsalary not between", value1, value2, "jxsalary");
            return (Criteria) this;
        }

        public Criteria andDxdayIsNull() {
            addCriterion("dxday is null");
            return (Criteria) this;
        }

        public Criteria andDxdayIsNotNull() {
            addCriterion("dxday is not null");
            return (Criteria) this;
        }

        public Criteria andDxdayEqualTo(Integer value) {
            addCriterion("dxday =", value, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayNotEqualTo(Integer value) {
            addCriterion("dxday <>", value, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayGreaterThan(Integer value) {
            addCriterion("dxday >", value, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayGreaterThanOrEqualTo(Integer value) {
            addCriterion("dxday >=", value, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayLessThan(Integer value) {
            addCriterion("dxday <", value, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayLessThanOrEqualTo(Integer value) {
            addCriterion("dxday <=", value, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayIn(List<Integer> values) {
            addCriterion("dxday in", values, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayNotIn(List<Integer> values) {
            addCriterion("dxday not in", values, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayBetween(Integer value1, Integer value2) {
            addCriterion("dxday between", value1, value2, "dxday");
            return (Criteria) this;
        }

        public Criteria andDxdayNotBetween(Integer value1, Integer value2) {
            addCriterion("dxday not between", value1, value2, "dxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayIsNull() {
            addCriterion("bdxday is null");
            return (Criteria) this;
        }

        public Criteria andBdxdayIsNotNull() {
            addCriterion("bdxday is not null");
            return (Criteria) this;
        }

        public Criteria andBdxdayEqualTo(Integer value) {
            addCriterion("bdxday =", value, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayNotEqualTo(Integer value) {
            addCriterion("bdxday <>", value, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayGreaterThan(Integer value) {
            addCriterion("bdxday >", value, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayGreaterThanOrEqualTo(Integer value) {
            addCriterion("bdxday >=", value, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayLessThan(Integer value) {
            addCriterion("bdxday <", value, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayLessThanOrEqualTo(Integer value) {
            addCriterion("bdxday <=", value, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayIn(List<Integer> values) {
            addCriterion("bdxday in", values, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayNotIn(List<Integer> values) {
            addCriterion("bdxday not in", values, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayBetween(Integer value1, Integer value2) {
            addCriterion("bdxday between", value1, value2, "bdxday");
            return (Criteria) this;
        }

        public Criteria andBdxdayNotBetween(Integer value1, Integer value2) {
            addCriterion("bdxday not between", value1, value2, "bdxday");
            return (Criteria) this;
        }

        public Criteria andQqjIsNull() {
            addCriterion("qqj is null");
            return (Criteria) this;
        }

        public Criteria andQqjIsNotNull() {
            addCriterion("qqj is not null");
            return (Criteria) this;
        }

        public Criteria andQqjEqualTo(Integer value) {
            addCriterion("qqj =", value, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjNotEqualTo(Integer value) {
            addCriterion("qqj <>", value, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjGreaterThan(Integer value) {
            addCriterion("qqj >", value, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjGreaterThanOrEqualTo(Integer value) {
            addCriterion("qqj >=", value, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjLessThan(Integer value) {
            addCriterion("qqj <", value, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjLessThanOrEqualTo(Integer value) {
            addCriterion("qqj <=", value, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjIn(List<Integer> values) {
            addCriterion("qqj in", values, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjNotIn(List<Integer> values) {
            addCriterion("qqj not in", values, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjBetween(Integer value1, Integer value2) {
            addCriterion("qqj between", value1, value2, "qqj");
            return (Criteria) this;
        }

        public Criteria andQqjNotBetween(Integer value1, Integer value2) {
            addCriterion("qqj not between", value1, value2, "qqj");
            return (Criteria) this;
        }

        public Criteria andYlbxIsNull() {
            addCriterion("ylbx is null");
            return (Criteria) this;
        }

        public Criteria andYlbxIsNotNull() {
            addCriterion("ylbx is not null");
            return (Criteria) this;
        }

        public Criteria andYlbxEqualTo(Integer value) {
            addCriterion("ylbx =", value, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxNotEqualTo(Integer value) {
            addCriterion("ylbx <>", value, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxGreaterThan(Integer value) {
            addCriterion("ylbx >", value, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxGreaterThanOrEqualTo(Integer value) {
            addCriterion("ylbx >=", value, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxLessThan(Integer value) {
            addCriterion("ylbx <", value, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxLessThanOrEqualTo(Integer value) {
            addCriterion("ylbx <=", value, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxIn(List<Integer> values) {
            addCriterion("ylbx in", values, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxNotIn(List<Integer> values) {
            addCriterion("ylbx not in", values, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxBetween(Integer value1, Integer value2) {
            addCriterion("ylbx between", value1, value2, "ylbx");
            return (Criteria) this;
        }

        public Criteria andYlbxNotBetween(Integer value1, Integer value2) {
            addCriterion("ylbx not between", value1, value2, "ylbx");
            return (Criteria) this;
        }

        public Criteria andLbxIsNull() {
            addCriterion("lbx is null");
            return (Criteria) this;
        }

        public Criteria andLbxIsNotNull() {
            addCriterion("lbx is not null");
            return (Criteria) this;
        }

        public Criteria andLbxEqualTo(Integer value) {
            addCriterion("lbx =", value, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxNotEqualTo(Integer value) {
            addCriterion("lbx <>", value, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxGreaterThan(Integer value) {
            addCriterion("lbx >", value, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxGreaterThanOrEqualTo(Integer value) {
            addCriterion("lbx >=", value, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxLessThan(Integer value) {
            addCriterion("lbx <", value, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxLessThanOrEqualTo(Integer value) {
            addCriterion("lbx <=", value, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxIn(List<Integer> values) {
            addCriterion("lbx in", values, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxNotIn(List<Integer> values) {
            addCriterion("lbx not in", values, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxBetween(Integer value1, Integer value2) {
            addCriterion("lbx between", value1, value2, "lbx");
            return (Criteria) this;
        }

        public Criteria andLbxNotBetween(Integer value1, Integer value2) {
            addCriterion("lbx not between", value1, value2, "lbx");
            return (Criteria) this;
        }

        public Criteria andSybxIsNull() {
            addCriterion("sybx is null");
            return (Criteria) this;
        }

        public Criteria andSybxIsNotNull() {
            addCriterion("sybx is not null");
            return (Criteria) this;
        }

        public Criteria andSybxEqualTo(Integer value) {
            addCriterion("sybx =", value, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxNotEqualTo(Integer value) {
            addCriterion("sybx <>", value, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxGreaterThan(Integer value) {
            addCriterion("sybx >", value, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxGreaterThanOrEqualTo(Integer value) {
            addCriterion("sybx >=", value, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxLessThan(Integer value) {
            addCriterion("sybx <", value, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxLessThanOrEqualTo(Integer value) {
            addCriterion("sybx <=", value, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxIn(List<Integer> values) {
            addCriterion("sybx in", values, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxNotIn(List<Integer> values) {
            addCriterion("sybx not in", values, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxBetween(Integer value1, Integer value2) {
            addCriterion("sybx between", value1, value2, "sybx");
            return (Criteria) this;
        }

        public Criteria andSybxNotBetween(Integer value1, Integer value2) {
            addCriterion("sybx not between", value1, value2, "sybx");
            return (Criteria) this;
        }

        public Criteria andGjjIsNull() {
            addCriterion("gjj is null");
            return (Criteria) this;
        }

        public Criteria andGjjIsNotNull() {
            addCriterion("gjj is not null");
            return (Criteria) this;
        }

        public Criteria andGjjEqualTo(Integer value) {
            addCriterion("gjj =", value, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjNotEqualTo(Integer value) {
            addCriterion("gjj <>", value, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjGreaterThan(Integer value) {
            addCriterion("gjj >", value, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjGreaterThanOrEqualTo(Integer value) {
            addCriterion("gjj >=", value, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjLessThan(Integer value) {
            addCriterion("gjj <", value, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjLessThanOrEqualTo(Integer value) {
            addCriterion("gjj <=", value, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjIn(List<Integer> values) {
            addCriterion("gjj in", values, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjNotIn(List<Integer> values) {
            addCriterion("gjj not in", values, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjBetween(Integer value1, Integer value2) {
            addCriterion("gjj between", value1, value2, "gjj");
            return (Criteria) this;
        }

        public Criteria andGjjNotBetween(Integer value1, Integer value2) {
            addCriterion("gjj not between", value1, value2, "gjj");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}